package com.gof.example.algorithm;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/13 15:31.
 * haiming.fei@tongdun.cn
 */
public abstract class AirplaneBehaviour {

    private String name;

    public AirplaneBehaviour(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    abstract void howTakeoff();
    abstract void howFly();
}
